package com.cai.kcsj.service;

import com.cai.kcsj.entity.Goods;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/1/4 18 : 25
 * @package：com.cai.kcsj.service
 */
public interface GoodsServer {
    List<Goods> selectGoodsList(Integer current);
    Goods selectGoodsById(Integer id);
    void insertGoods(Goods goods);
    int getGoodsCount();
    void updateGoods(Goods goods);
}
